package com.example.demo1.service.impl.service;


import com.example.demo1.common.ServerResponse;
import com.example.demo1.entity.BaRole;

public interface RoleService {

    ServerResponse queryRoles(String roleName,int pageNum, int pageSize);
    ServerResponse addRoleInfo(BaRole role,Integer userId, String functionIds);
    ServerResponse editRoleInfo(BaRole role,Integer userId, String functionIds);
    ServerResponse deleteRoleInfo(String roleIds);

}
